KERNEL_PATH=/home/li/hqyj_study/18lv-linuxDriver-one/02day_env/linux-5.4.31
ifeq ($(KERNELRELEASE),)
all:
	make -C $(KERNEL_PATH) M=$(PWD) modules
modules_install: 
	make -C $(KERNEL_PATH) M=$(PWD) INSTALL_MOD_PATH=/nfs/rootfs  modules_install 
clean:
	make -C $(KERNEL_PATH) M=$(PWD) clean
else
	obj-m += moduleparam.o
endif